package com.ctbri.io;

import java.util.prefs.Preferences;

public class Ex33 {

	public static void main(String[] args) {
		Preferences prefs = Preferences.userNodeForPackage(Ex33.class);
		System.out.println(prefs.get("base directory", "not defined"));
		prefs.put("base directory", "C:/windows");
		System.out.println(prefs.get("base directory", "not defined"));
	}

}
